package com.tvunetworks.center.device.mapper;

import com.tvunetworks.center.device.model.DeviceGeoRecord;
import com.tvunetworks.center.device.model.param.DeviceGeoRecordParam;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.special.InsertListMapper;

import java.util.List;
/**
 * @program: tvucc-aggregator
 * @author lebronchen
 * @create: 2019-11-05 14:45
 **/
public interface DeviceGeoRecordMapper  extends Mapper<DeviceGeoRecord>, InsertListMapper<DeviceGeoRecord> {
    /**
     *
     * @param deviceGeoRecordParam deviceGeoRecordParam
     * @return List
     */
    List<DeviceGeoRecord> list(DeviceGeoRecordParam deviceGeoRecordParam);

    /**
     *
     * @param deviceGeoRecordParam deviceGeoRecordParam
     * @return List
     */
    List<DeviceGeoRecord> listFavorite(DeviceGeoRecordParam deviceGeoRecordParam);

    /**
     *
     * @param deviceGeoRecordParam deviceGeoRecordParam
     */
    void clearGeoRecordHistoryData(DeviceGeoRecordParam deviceGeoRecordParam);

}
